﻿CREATE TABLE [dbo].[DistributieMeniuri] (
    [IDDistribMeniuri] INT      IDENTITY (1, 1) NOT NULL,
    [Data]             DATETIME NOT NULL,
    [IDRegim]          INT      NOT NULL,
    [IDMeniu]          INT      NOT NULL,
    CONSTRAINT [PK_DistributieMeniuri] PRIMARY KEY CLUSTERED ([IDDistribMeniuri] ASC),
    CONSTRAINT [FK_DistributieMeniuri_Meniuri_Regimuri] FOREIGN KEY ([IDMeniu], [IDRegim]) REFERENCES [dbo].[Meniuri_Regimuri] ([IDMeniu], [IDRegim])
);

